from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from .exts import logger, logger_info, logger_error

app = Flask(__name__)
app.config.from_object('config')
logger.init_app(app)
logger_info.init_app(app)
logger_error.init_app(app)
db = SQLAlchemy(app)

migrate = Migrate(app, db)

from app import views, models


